<template>
	<view>
		<myshop :nonotice="arr"></myshop>
		<view class="list">
			<view class="listhead">
				<view >
					<view>房源</view>
					<view>带领人</view>
					<view>房源信息</view>
				</view>
			</view>
			<view class="listitem" v-for="(item,index) in data">
				<view>
					<view>{{item.day}}</view>
					<view>{{item.name}}</view>
					<view>{{item.site}}</view>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	
	import myshop from '../../components/myshop/myshop.vue'
	export default {
		components: {
			myshop
		},
		data() {
			return {
				arr: ['一手房', '二手房', '租房', '政策房'],
				data:[
					{
						day:'2021年3月2日',
						name:'张三',
						site:'上海徐汇'
					},
					{
						day:'2021年3月2日',
						name:'张三',
						site:'上海徐汇'
					},
					{
						day:'2021年3月2日',
						name:'张三',
						site:'上海徐汇'
					},
					
				]
				
			}
		},
		methods: {
			
		}
	}
</script>

<style>
page {
		background-color: #f5f5f5;
	}
	.listhead{
		margin-top: 20rpx;
	}
	.listhead>view{
		width: 90%;
		margin: 0 auto;
		height: 100rpx;
		line-height: 100rpx;
		display: flex;
		text-align: center;
		background-color: #FFFFFF;
	}
	.listitem{
		margin-top: 4rpx;
	}
	.listitem>view{
		width: 90%;
		margin: 0 auto;
		height: 100rpx;
		line-height: 100rpx;
		display: flex;
		text-align: center;
		background-color: #FFFFFF;
	}
	.listitem>view>view:nth-child(2){
		flex: 4;
	}
	.listitem>view>view:nth-child(1){
		flex: 3;
	}
	.listitem>view>view:nth-child(3){
		flex: 3;
	}
	.listhead>view>view:nth-child(2){
		flex: 4;
	}
	.listhead>view>view:nth-child(1){
		flex: 3;
	}
	.listhead>view>view:nth-child(3){
		flex: 3;
	}
</style>
